import { _decorator, Component, Enum, EventHandler, KeyCode, Node } from 'cc';
const { ccclass, property } = _decorator;
enum keyboard_key {
    // A = KeyCode.KEY_A,
    // D = KeyCode.KEY_D,
    // W = KeyCode.KEY_W,
    // S = KeyCode.KEY_S,
    // Q = KeyCode.KEY_Q,
    // E = KeyCode.KEY_E
    a = "a",
}
Enum(keyboard_key);
@ccclass('key_bind_fun')
export class key_bind_fun extends EventHandler{
    @property({override: true })
    customEventData:keyboard_key;// keyboard_key.A;
    // @property({type: EventHandler})
    // handle:EventHandler = null;

    // @property({ type: EventHandler })
    // fun:EventHandler = null;
}


